Search results

12 packages found

A functional and declarative alternative to JavaScript's native switch statement.

published 1.0.0 3 years ago
M
Q
P

javascript implementation of match statement

published 1.1.0 7 months ago
M
Q
P

Regular expression for matching javascript require/import statements.

published 0.2.0 3 years ago
M
Q
P

Regular expression for matching javascript require statements.

published 1.0.4 6 years ago
M
Q
P

Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.

published 2.0.1 6 years ago
M
Q
P

No dependency pattern matching library, able to work with numbers, arrays, strings, Dates or objects

published 3.4.0 3 years ago
M
Q
P

Utility for mapping values to other values or behaviour, a bit like a match statement

published 1.1.0 4 years ago
M
Q
P

A functional switch to replace switch statements

published 1.0.3 2 years ago
M
Q
P

Babel plugin to replace extension of file name written in import statement and dynamic import.

published 1.0.0 3 days ago
M
Q
P

Find and remove unused es6 module imports. It works by splitting up the `no-unused-vars` rule depending on it being an import statement in the AST and providing an autofix rule to remove the nodes if they are imports. This plugin composes the rule `no-unu

published 1.0.0 19 hours ago
M
Q
P
M
Q
P

Match require statements in a glob of files. Returns an an object files, each with an array of objects describing each require statement found. Each require statement object has a line number, variable name, and module name. Statements in code comments ar

published 0.1.0 9 years ago
M
Q
P